package com.lemon.boot.common.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 李猛
 * @datetime 2024/2/24 10:51
 * @description 类对象
 */
@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "tenant")
public class TenantConfigProperties {
    //租户ID的列字段
    private String tenantColumnId;
    //mybatis模糊查询的字段
    private List<String> selectLikeColumn;
    //mybatis忽略查询租户ID的表
    private List<String> tenantIgnoreTable;
}
